<template>
  <div class="child">
    <!-- <h2>我的玩具是：{{ toy }}</h2> -->
    <h2 v-beauty="toy">我的玩具是：</h2>
  </div>
</template>

<script>
  export default {
    name:'Child',
    data() {
      return {
        toy:'奥特曼'
      }
    },
  }
</script>

<style scoped>
  .child {
    background-color: skyblue;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px;
  }
</style>